package com.chinasoft.order.service.impl;

import com.chinasoft.order.domain.Order;

import java.util.Date;
import java.util.List;

public interface OrderService {
    //查找全部未接单状态的订单
    List<Order> findAll();


    //接订单
    int takeOrder(String rid,Integer id);


    //完成订单
    int doneOrder(String id, Date arriveTime);
}
